package com.xxd.spring.boot.demo.hubajun.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xxd.spring.boot.demo.hubajun.entity.StudentEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface StudentMapper extends BaseMapper<StudentEntity> {
  IPage<StudentEntity>  listPage(IPage page, @Param("student") Map<String, Object> map);

   int insertData(@Param("student") StudentEntity studentEntity);

   int MyUpdateById(@Param("student") StudentEntity studentEntity);


    int deleteById(@Param("id") Integer id);
}
